package com.his.his_system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.his.his_system.domain.DzmHisCareOrderSub;
import com.his.his_system.service.DzmHisCareOrderSubService;
import com.his.his_system.mapper.DzmHisCareOrderSubMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 覃圣礼
* @description 针对表【dzm_his_care_order_sub(开诊用药明细)】的数据库操作Service实现
* @createDate 2023-07-11 10:45:08
*/
@Service
public class DzmHisCareOrderSubServiceImpl extends ServiceImpl<DzmHisCareOrderSubMapper, DzmHisCareOrderSub>
    implements DzmHisCareOrderSubService{

      @Resource
      private DzmHisCareOrderSubMapper dzmHisCareOrderSubMapper;

      /**
       * 获取X光信息
       */
      @Override
      public List<DzmHisCareOrderSub> xrayInfo() {

	  return dzmHisCareOrderSubMapper.xrayInfo();

      }

      /**
       * 查询
       * @param typename
       */
      @Override
      public List<DzmHisCareOrderSub> queryInfo(String typename) {
            return dzmHisCareOrderSubMapper.queryInfo(typename);
      }


      /**
       * 获取药品信息
       * @return
       */
      @Override
      public List<DzmHisCareOrderSub> drugInfo() {

            return dzmHisCareOrderSubMapper.drugInfo();
      }

      /**
       *
       * @param drugName
       * @return
       * 根据药品名称查询
       */
      @Override
      public List<DzmHisCareOrderSub> drugQuery(String drugName) {
            return dzmHisCareOrderSubMapper.drugQuery(drugName);
      }
}




